stylecontext: Stop animations on manual invalidation
authorBenjamin Otte <otte@redhat.com>
Sat, 10 Jan 2015 12:58:39 +0000 (13:58 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 10 Jan 2015 13:25:40 +0000 (14:25 +0100)
commitcec5815a0de9ba60417ed6611e9addcc3e85e9a2
tree49ca2c7ea07781c5e8db03fd4a74ce7686a6b03e
parent9fcbae2d857ed35483700be13d62a3590c719ee8
stylecontext: Stop animations on manual invalidation

If a gtk_style_context_invalidate() is called on a widget's style
context (which nobody should ever do, sheesh!) and we're animating, stop
the animations.

Fixes crashers in Nautilus.
gtk/gtkstylecontext.c